<div class="progress">
    <div class="progress-bar"
         ng-class="type && 'progress-bar-' + type"
         role="progressbar"
         aria-valuenow="{{value}}"
         aria-valuemin="0"
         aria-valuemax="{{max}}"
         ng-style="{width: (percent < 100 ? percent : 100) + '%'}"
         aria-valuetext="{{percent | number:0}}%"
         title="{{title}}" ng-transclude></div>
</div>